package net.hn.hnms.biz.meeting.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "meeting_room", schema = "hygl", catalog = "huaneng-general")
public class MeetingRoom extends BaseModel implements Serializable {

    @ApiModelProperty(value = "id")
    @TableField(value = "meeting_room_id", fill = FieldFill.INSERT)
    @TableId(type = IdType.ASSIGN_UUID)
    private String meetingRoomId;

    @ApiModelProperty(value = "会议室名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String meetingRoomName;

    @ApiModelProperty(value = "容纳人数")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer capacity;

    @ApiModelProperty(value = "会议类型 0线上 1线下 2混合")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String meetingRoomType;

    @ApiModelProperty(value = "会议室地点")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String meetingRoomAddress;

    @ApiModelProperty(value = "备注")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String remarks;


    @ApiModelProperty(value = "状态")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Integer state;

}
